keyPath
: My Apple Shortcuts.backup
Workflow
: { "workflowIdentifier": "62486A0E-5C10-4249-9B8A-7A7DEDDD8A74",
"workflowName": "getCurentWeekNumber1",
"isSelf": false
}
[2 WeekNumber] ,[3 Count] ,[4 Sum]
8 Split Text [6 Dictionary Value] by New Lines »
9 Get Last Item from List [8 Split Text] »
10 If [9 Item from List] begins with [2 WeekNumber]
11 Get Text from [6 Dictionary Value]
12 Otherwise
13 Text
[6 Dictionary Value]
[5 newData]
14 End If
16 Text
Week Number,Total Shortcuts,Total Actions
[5 newData]
overwriteStrategy
: alwaysAllow
keyPath
: My Apple Shortcuts.backup.history.[CurrentDate {"Date Style":"Custom","WFDateFormat":"yyyy","WFISO8601IncludeTime":false}]
valueConversionMode
: text
File
: { "fileLocation": {
"WFFileLocationType": "Shortcuts",
"fileProviderDomainID": "com.apple.CloudDocs.iCloudDriveFileProvider/94C360DB-8C66-408D-8531-5552FAD57577",
"relativeSubpath": "Backup",
"appContainerBundleIdentifier": "com.apple.systemactions",
"crossDeviceItemID": "docs.icloud.com:com.apple.CloudDocs/2DFBFD98-38BD-44DF-8BC3-3A2F01248165/809d9d393c0f012dba4e1c5a45ca041538c5e1ce"
},
"filename": "Backup",
"displayName": "Backup"
}
{ "actionCount": {
"tableColumn": "Number of Actions",
"list": [1 Value as Dictionary.actionCountList] as Array ,
"heading": "🏅 Top 5 Most Complex Shortcuts"
},
"fileSizeKB": {
"tableColumn": "File Size (KB)",
"list": [1 Value as Dictionary.fileSizeKBList] as Array ,
"heading": "🎖️ Top 5 Largest Shortcuts"
}
}
27 Get Dictionary Value for [Repeat Item] .list in [25 mappingDict] ➔ List »
28 Repeat[2] with Each in [27 List]
29 Set Name of [Repeat Index 2] to [Repeat Item 2]
30 End Repeat[2] with Each »
31 Filter Files [30 Repeat Results] » 33
ContentItemLimitEnabled
: true
ContentItemSortProperty
: Name
ContentItemSortOrder
: Z to A
32 Dictionary » 34
{ "1": "1️⃣",
"2": "2️⃣",
"3": "3️⃣",
"4": "4️⃣",
"5": "5️⃣"
}
33 Repeat[2] with Each in [31 Files]
34 Get Dictionary Value for [Repeat Index 2] in [32 Dictionary] » 39
35 Get Item At Index [Repeat Item 2] from List [1 Value as Dictionary.thisUpdateSnapshot] »
36 Get Dictionary Value for [35 Item from List] in [1 Value as Dictionary.data] » 37 39
37 URL Encode https://shortcutomation.com/gallery/[36 Dictionary Value as Dictionary.category] /[36 Dictionary Value as Dictionary.name] » 39
38 Get Name of [Repeat Item 2] »
39 Text
| [34 Dictionary Value] | [[36 Dictionary Value as Dictionary.name] ]([37 URL Encoded Text] ) | [38 Name] |
40 End Repeat[2] with Each ▵33 » 43
41 Get Dictionary Value for [Repeat Item] .heading in [25 mappingDict] ➔ heading » 43
42 Get Dictionary Value for [Repeat Item] .tableColumn in [25 mappingDict] ➔ tableColumn »
43 Text
* [41 heading]
| Rank | Shortcut Name | [42 tableColumn] |
| :---: | :---: | :---: |
[40 Repeat Results]
* There are **[3 Count] ** Shortcuts with a total of **[4 Sum] ** actions across **[20 Count] ** categories.
* On average, each Shortcut has **[22 Rounded Average] ** actions.
* A typical Shortcut contains around **[24 Rounded Average] ** or more actions.
[44 Repeat Results]
Folder
: { "fileLocation": {
"WFFileLocationType": "Shortcuts",
"fileProviderDomainID": "com.apple.CloudDocs.iCloudDriveFileProvider/94C360DB-8C66-408D-8531-5552FAD57577",
"relativeSubpath": "Backup",
"appContainerBundleIdentifier": "com.apple.systemactions",
"crossDeviceItemID": "docs.icloud.com:com.apple.CloudDocs/2DFBFD98-38BD-44DF-8BC3-3A2F01248165/809d9d393c0f012dba4e1c5a45ca041538c5e1ce"
},
"filename": "Backup",
"displayName": "Backup"
}